
package com.ashley.day_0405;

public class ForForTest {

	public static void main(String[] args) {
		for (int j = 1; j <= 5; j++) {
				for (int k = 1; k <=5-j; k++) {
					System.out.print(" ");	
				}
				for (int i = 1; i <= j; i++){
					System.out.print("* ");
			}
			System.out.println();
		}

		for (int j = 1; j <= 4; j++) {
			for (int k = 1; k <=j; k++) {
				System.out.print(" ");	
			}
			for (int i = 1; i <= 5-j; i++){
				System.out.print("* ");
		}
		System.out.println();
	}
	}

}
